[INFO] cloning repository https://github.com/xiaoxigua-1/ZX
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xiaoxigua-1/ZX" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxiaoxigua-1%2FZX", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxiaoxigua-1%2FZX'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] af14eec0f55de32873ebad4c887ff2d5c7eda6a1
[INFO] checking xiaoxigua-1/ZX against try#e79c9799a5ffd821c63b799b91e8aa87fd7ebb1e for pr-101680
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxiaoxigua-1%2FZX" "/workspace/builds/worker-7/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/xiaoxigua-1/ZX on toolchain e79c9799a5ffd821c63b799b91e8aa87fd7ebb1e
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+e79c9799a5ffd821c63b799b91e8aa87fd7ebb1e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/xiaoxigua-1/ZX
[INFO] finished tweaking git repo https://github.com/xiaoxigua-1/ZX
[INFO] tweaked toml for git repo https://github.com/xiaoxigua-1/ZX written to /workspace/builds/worker-7/source/Cargo.toml
[INFO] crate git repo https://github.com/xiaoxigua-1/ZX already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+e79c9799a5ffd821c63b799b91e8aa87fd7ebb1e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+e79c9799a5ffd821c63b799b91e8aa87fd7ebb1e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 063670359da45d0e4a042ab9ea65a51d81ff73f06e21bfd10144a6ecd4cd3d19
[INFO] running `Command { std: "docker" "start" "-a" "063670359da45d0e4a042ab9ea65a51d81ff73f06e21bfd10144a6ecd4cd3d19", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "063670359da45d0e4a042ab9ea65a51d81ff73f06e21bfd10144a6ecd4cd3d19", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "063670359da45d0e4a042ab9ea65a51d81ff73f06e21bfd10144a6ecd4cd3d19", kill_on_drop: false }`
[INFO] [stdout] 063670359da45d0e4a042ab9ea65a51d81ff73f06e21bfd10144a6ecd4cd3d19
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+e79c9799a5ffd821c63b799b91e8aa87fd7ebb1e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 25e0e5070a20a177be9364ac230ed85d54d192faadc6af00f2d33769055b2d39
[INFO] running `Command { std: "docker" "start" "-a" "25e0e5070a20a177be9364ac230ed85d54d192faadc6af00f2d33769055b2d39", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.40
[INFO] [stderr]    Compiling syn v0.15.44
[INFO] [stderr]    Compiling unicode-ident v1.0.1
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling unicode-segmentation v1.9.0
[INFO] [stderr]    Compiling quote v1.0.20
[INFO] [stderr]    Compiling libc v0.2.126
[INFO] [stderr]    Compiling syn v1.0.98
[INFO] [stderr]     Checking strum v0.13.0
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]     Checking once_cell v1.12.0
[INFO] [stderr]    Compiling regex-syntax v0.6.27
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling cc v1.0.73
[INFO] [stderr]    Compiling parking_lot_core v0.9.3
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]     Checking linked-list v0.0.3
[INFO] [stderr]     Checking smallvec v1.9.0
[INFO] [stderr]     Checking scopeguard v1.1.0
[INFO] [stderr]    Compiling inkwell v0.1.0 (https://github.com/TheDan64/inkwell?branch=master#75284de8)
[INFO] [stderr]     Checking either v1.8.0
[INFO] [stderr]     Checking hashbrown v0.12.1
[INFO] [stderr]    Compiling heck v0.4.0
[INFO] [stderr]     Checking os_str_bytes v6.1.0
[INFO] [stderr]     Checking strsim v0.10.0
[INFO] [stderr]     Checking textwrap v0.15.0
[INFO] [stderr]     Checking bitflags v1.3.2
[INFO] [stderr]     Checking termcolor v1.1.3
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling heck v0.3.3
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling lock_api v0.4.8
[INFO] [stderr]    Compiling indexmap v1.9.1
[INFO] [stderr]     Checking clap_lex v0.2.4
[INFO] [stderr]    Compiling quote v0.6.13
[INFO] [stderr]    Compiling aho-corasick v0.7.19
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]    Compiling regex v1.6.0
[INFO] [stderr]    Compiling strum_macros v0.13.0
[INFO] [stderr]    Compiling llvm-sys v100.2.3
[INFO] [stderr]    Compiling inkwell_internals v0.5.0 (https://github.com/TheDan64/inkwell?branch=master#75284de8)
[INFO] [stderr]    Compiling clap_derive v3.2.7
[INFO] [stderr]     Checking util v0.1.0 (/opt/rustwide/workdir/compiler/util)
[INFO] [stderr]     Checking lexer v0.1.0 (/opt/rustwide/workdir/compiler/lexer)
[INFO] [stderr]     Checking check v0.1.0 (/opt/rustwide/workdir/compiler/check)
[INFO] [stdout] warning: unused import: `crate::Checker`
[INFO] [stdout]  --> compiler/check/src/test.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 3 |     use crate::Checker;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `next_scope` is never used
[INFO] [stdout]    --> compiler/check/src/lib.rs:327:8
[INFO] [stdout]     |
[INFO] [stdout] 327 |     fn next_scope(&self) {}
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `next_scope` is never used
[INFO] [stdout]    --> compiler/check/src/lib.rs:327:8
[INFO] [stdout]     |
[INFO] [stdout] 327 |     fn next_scope(&self) {}
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking parser v0.1.0 (/opt/rustwide/workdir/compiler/parser)
[INFO] [stdout] warning: unused import: `check`
[INFO] [stdout]  --> compiler/check/tests/checker_test.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use check;
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking clap v3.2.8
[INFO] [stderr]     Checking llvm v0.1.0 (/opt/rustwide/workdir/compiler/llvm)
[INFO] [stdout] warning: unused import: `util::ast::Expression::Type`
[INFO] [stdout]  --> compiler/llvm/src/expression.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use util::ast::Expression::Type;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `util::ast::Expression::Type`
[INFO] [stdout]  --> compiler/llvm/src/expression.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use util::ast::Expression::Type;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> compiler/llvm/src/statement.rs:17:13
[INFO] [stdout]    |
[INFO] [stdout] 14 | /         if let Some(return_type) = return_type {
[INFO] [stdout] 15 | |
[INFO] [stdout] 16 | |         } else {
[INFO] [stdout] 17 | |             self.context.void_type().fn_type(&[], false)
[INFO] [stdout]    | |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found struct `inkwell::types::FunctionType`
[INFO] [stdout] 18 | |         }
[INFO] [stdout]    | |_________- expected this to be `()`
[INFO] [stdout]    |
[INFO] [stdout] help: consider using a semicolon here
[INFO] [stdout]    |
[INFO] [stdout] 17 |             self.context.void_type().fn_type(&[], false);
[INFO] [stdout]    |                                                         +
[INFO] [stdout] help: consider using a semicolon here
[INFO] [stdout]    |
[INFO] [stdout] 18 |         };
[INFO] [stdout]    |          +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 3 arguments but 1 argument was supplied
[INFO] [stdout]    --> compiler/llvm/src/statement.rs:19:21
[INFO] [stdout]     |
[INFO] [stdout] 19  |           self.module.add_function(
[INFO] [stdout]     |  _____________________^^^^^^^^^^^^-
[INFO] [stdout] 20  | |             name
[INFO] [stdout]     | |             ---- expected `&str`, found struct `std::string::String`
[INFO] [stdout] 21  | |         )
[INFO] [stdout]     | |_________- two arguments of type `inkwell::types::FunctionType<'_>` and `Option<Linkage>` are missing
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/git/checkouts/inkwell-946411d814d2c9f8/75284de/src/module.rs:211:12
[INFO] [stdout]     |
[INFO] [stdout] 211 |     pub fn add_function(&self, name: &str, ty: FunctionType<'ctx>, linkage: Option<Linkage>) -> FunctionValue<'ctx> {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]     |
[INFO] [stdout] 20  |             &name
[INFO] [stdout]     |
[INFO] [stdout] help: provide the arguments
[INFO] [stdout]     |
[INFO] [stdout] 19  |         self.module.add_function(/* &str */, /* inkwell::types::FunctionType<'_> */, /* Option<Linkage> */)
[INFO] [stdout]     |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> compiler/llvm/src/statement.rs:17:13
[INFO] [stdout]    |
[INFO] [stdout] 14 | /         if let Some(return_type) = return_type {
[INFO] [stdout] 15 | |
[INFO] [stdout] 16 | |         } else {
[INFO] [stdout] 17 | |             self.context.void_type().fn_type(&[], false)
[INFO] [stdout]    | |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found struct `inkwell::types::FunctionType`
[INFO] [stdout] 18 | |         }
[INFO] [stdout]    | |_________- expected this to be `()`
[INFO] [stdout]    |
[INFO] [stdout] help: consider using a semicolon here
[INFO] [stdout]    |
[INFO] [stdout] 17 |             self.context.void_type().fn_type(&[], false);
[INFO] [stdout]    |                                                         +
[INFO] [stdout] help: consider using a semicolon here
[INFO] [stdout]    |
[INFO] [stdout] 18 |         };
[INFO] [stdout]    |          +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 3 arguments but 1 argument was supplied
[INFO] [stdout]    --> compiler/llvm/src/statement.rs:19:21
[INFO] [stdout]     |
[INFO] [stdout] 19  |           self.module.add_function(
[INFO] [stdout]     |  _____________________^^^^^^^^^^^^-
[INFO] [stdout] 20  | |             name
[INFO] [stdout]     | |             ---- expected `&str`, found struct `std::string::String`
[INFO] [stdout] 21  | |         )
[INFO] [stdout]     | |_________- two arguments of type `inkwell::types::FunctionType<'_>` and `Option<Linkage>` are missing
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/git/checkouts/inkwell-946411d814d2c9f8/75284de/src/module.rs:211:12
[INFO] [stdout]     |
[INFO] [stdout] 211 |     pub fn add_function(&self, name: &str, ty: FunctionType<'ctx>, linkage: Option<Linkage>) -> FunctionValue<'ctx> {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]     |
[INFO] [stdout] 20  |             &name
[INFO] [stdout]     |
[INFO] [stdout] help: provide the arguments
[INFO] [stdout]     |
[INFO] [stdout] 19  |         self.module.add_function(/* &str */, /* inkwell::types::FunctionType<'_> */, /* Option<Linkage> */)
[INFO] [stdout]     |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> compiler/llvm/src/statement.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 13 |       pub fn build_function(&self, name: String, parameters: &Vec<Parameter>, return_type: &Option<Expression>, block: &Box<Statement>) {
[INFO] [stdout]    |                                                                                                                                         - expected `()` because of default return type
[INFO] [stdout] ...
[INFO] [stdout] 19 | /         self.module.add_function(
[INFO] [stdout] 20 | |             name
[INFO] [stdout] 21 | |         )
[INFO] [stdout]    | |         ^- help: consider using a semicolon here: `;`
[INFO] [stdout]    | |_________|
[INFO] [stdout]    |           expected `()`, found struct `inkwell::values::FunctionValue`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0308.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> compiler/llvm/src/statement.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 13 |       pub fn build_function(&self, name: String, parameters: &Vec<Parameter>, return_type: &Option<Expression>, block: &Box<Statement>) {
[INFO] [stdout]    |                                                                                                                                         - expected `()` because of default return type
[INFO] [stdout] ...
[INFO] [stdout] 19 | /         self.module.add_function(
[INFO] [stdout] 20 | |             name
[INFO] [stdout] 21 | |         )
[INFO] [stdout]    | |         ^- help: consider using a semicolon here: `;`
[INFO] [stdout]    | |_________|
[INFO] [stdout]    |           expected `()`, found struct `inkwell::values::FunctionValue`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `llvm` due to 4 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0308.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `llvm` due to 4 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "25e0e5070a20a177be9364ac230ed85d54d192faadc6af00f2d33769055b2d39", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "25e0e5070a20a177be9364ac230ed85d54d192faadc6af00f2d33769055b2d39", kill_on_drop: false }`
[INFO] [stdout] 25e0e5070a20a177be9364ac230ed85d54d192faadc6af00f2d33769055b2d39
